package com.aijk.commons.register;

import java.io.Serializable;

/**
 * <p>EH服务器节点信息</p>
 * User: chendw
 * Date: 2016/8/19 16:15
 * To change this template use File | Settings | File Templates.
 */
public class HostInfo implements Serializable {

    /**
     * 服务器编号
     */
    private long id;

    /**
     * 服务器地址
     */
    private String ip;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Override
    public String toString() {
        return "HostInfo{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                '}';
    }
}
